﻿using BCCommon.Extensions;
using BCCommon.TMS.RedPacket;
using System;

namespace BCDto.TMS.RedPacket.RedPacketType
{
    public class RedPacketTypeDto
    {
		public long RedPacketTypeId { get; set; }
		/// <summary>
		/// 红包类型
		/// </summary>
		public string RedPacketType { get; set; }
		/// <summary>
		/// 红包金额
		/// </summary>
		public decimal RedPacketAmount { get; set; }
		/// <summary>
		/// 获取方式
		/// </summary>
		public GrundlagenTypeEnum GrundlagenType { get; set; }
		/// <summary>
		/// 获取方式字符串
		/// </summary>
		public string GrundlagenTypeStr => GrundlagenType.GetDescriptionString();
		/// <summary>
		/// 已启用
		/// </summary>
		public bool Enabled { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime { get; set; }
		/// <summary>
		/// 创建人Id
		/// </summary>
		public long CreateAdminId { get; set; }
		/// <summary>
		/// 创建人姓名
		/// </summary>
		public string CreateAdminName { get; set; }
		/// <summary>
		/// 修改时间
		/// </summary>
		public DateTime UpdateTime { get; set; }
		/// <summary>
		/// 修改人Id
		/// </summary>
		public long EditAdminId { get; set; }
		/// <summary>
		/// 修改人姓名
		/// </summary>
		public string EditAdminName { get; set; }
		/// <summary>
		/// 代理商id
		/// </summary>
		public long AgentRecordId { get; set; }
	}
}
